<? $page_title='最低库存设置' ?>
<? include "FASHION/page_header.phtml" ?>

<form method="get"><nobr>
	关键字：<input type="text" name="key" value="<?= fetch_a_string('key') ?>" size="12" />
	&nbsp; <input type="submit" value="搜索" />
</nobr></form>

<form method="post" id="form1">
<table class="list" >
<tr class="row" >
	<th>编号</th>
	<th>材料名称</th>
	<th>品牌</th>
	<th>规格</th>
	<th>单位</th>
	<th>最低存量</th>
</tr>
<{if $list}>
<{foreach item=stuff from=$list}>
<TR class="row">
	<TD><{$stuff.sno}></TD>
	<TD><{$stuff.name}></TD>
	<TD><{$stuff.brand}></TD>
	<TD><{$stuff.specific}></TD>
	<TD><{$stuff.unit}></TD>
	<TD> <input type="text" name="hem[<{$stuff.id}>]" value="<{$stuff.cordon}>" size="6"
			   class="decimal" onfocus="chkdig_int(this)" /> </TD>
</TR>
<{/foreach}>
<{/if}>
<tr>
	<td colspan="6" class="center">
		<input type="button" value="返回" class="button" onclick="g2('<? url('cordon') ?>');" />
		<input type="submit" value="保存设置" class="button" />
	</td>
</tr>
</TABLE>
</form>

<? Html::pager($pager) ?>

<script language="JavaScript">
ajax_form({id:'form1',before:function(){ return confirm('确认提交<?$page_title?>吗？');}});
</script>

<? include "FASHION/page_footer.phtml" ?>
